package com.tanhua.model.mongo;

/**
 * @Description:
 * @Create by: wanglei
 * @Date: 2021/11/7 10:43
 */

import com.tanhua.model.vo.OptionVo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

/**
 * 试卷中的题目
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Document(collection = "question")
public class Question implements java.io.Serializable{

    private ObjectId id; //主键id

    private String problem;  //试卷的题目

    private String soulId;    //试卷id

    //private List<Option> options;   //这道题目的选项。集合。


}
